import Vue from 'vue'
import Router from 'vue-router'
import Login from '../views/Login.vue'
import '@/assets/scss/reset.scss'
import '../styles/login.scss'

Vue.use(Router)

let routes = [
    {
        path: '/',
        meta: {
            ignoreAuth: true  // 忽略登录验证
        },
        component: Login
    }, {
        path: '/login',
        meta: {
            ignoreAuth: true
        },
        component: Login
    }
];

routes = [...routes];

export default new Router({
    routes,
    mode: 'history',
    linkActiveClass: 'active'
})
